﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeBehind="edit55.aspx.cs" Inherits="HYSoft.Web.edit55" %>

<%@ Register Src="~/Controls/menu.ascx" TagName="uc2" TagPrefix="uc2" %>
<%@ Register Src="~/Controls/Search.ascx" TagName="uc3" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="CSS/editmonitor.css" rel="stylesheet" type="text/css" />
   <%-- <style>
        .tables
        {
            width: 75%;
            background-color: White;
            margin-left: auto;
            margin-right: auto;
            margin-top: 35px;
        }
        .table1
        {
            background: #FFF url(images/w_p5.jpg) repeat-x;
            background-position: bottom;
            width: 850px;
            margin-left: auto;
            margin-right: auto;
            border-spacing: 0px; /*background-color:#93C726;*/
            border-right: 1px solid #d1d1d1;
            border-left: 1px solid #d1d1d1;
            border-bottom-width: 0px;
        }
        .table1 tr
        {
            height: 50px;
        }
        .tables1 td
        {
            border-left: 1px solid #b1b1b1;
            border-bottom: 1px solid #b1b1b1;
        }
    </style>--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolderMenu" runat="server">
    <uc2:uc2 ID="head" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="contentPlaceHolderMain" runat="server">
    <div class="main">
        <div class="tables">
            <%--top标记--%>
            <div>
            <img src="Images/top.PNG" width="100%" />
        </div>
            <div>
                <table class="table1">
                    <div style="width: 850px; margin: 0px auto 0px auto;">
                        <img src="Images/w_p12.jpg" style="width: 100%; height: 100%; bottom: 5px;" /></div>
                    <tr>
                        <td align="right" style="width: 30px">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td align="left" style="width: 120px">
                            传感器类型：
                        </td>
                        <td align="left" style="width: 280px">
                            &nbsp;基站
                        </td>
                        <td align="left" rowspan="6" style="width: 300px">
                            当前安装图片地址：
                            <br />
                            <div style="margin: 0px auto 0px auto; background: url(images/1.jpg) no-repeat; width: 340px;
                                height: 280px;">
                                <img src="<%=tux %>" style="margin: 20px 10px 0px 10px; width: 320px; height: 240px;" />
                                <br />
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;替换照片：<asp:FileUpload ID="FileUpload1" runat="server" />
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 30px">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td align="left" style="width: 120px">
                            监测员：
                        </td>
                        <td align="left" style="width: 280px">
                            <asp:DropDownList ID="DropDownList12" runat="server">
                            </asp:DropDownList>
                            <b style="color: red">*</b> &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 30px">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td align="left" style="width: 120px">
                            <span style="text-align: left; width: 92px;">硬件地址（MAC值）：</span>
                        </td>
                        <td align="left" style="width: 280px">
                        <input type="text" runat="server" id="TextBox2" readonly="readonly" />
                            <b
                                style="color: red">*</b><asp:RequiredFieldValidator ID="RequiredFieldValidator3"
                                    runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox2"></asp:RequiredFieldValidator>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 30px">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td align="left" style="width: 120px">
                            手机卡号：
                        </td>
                        <td align="left" style="width: 280px">
                            <asp:TextBox ID="TextBox16" runat="server"></asp:TextBox><b style="color: red">*</b><asp:RegularExpressionValidator
                                ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox16"
                                ErrorMessage="请输入正确的手机卡号" ValidationExpression="^1[358]\d{9}$"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 30px">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td align="left" style="width: 120px">
                            安装地址：
                        </td>
                        <td align="left" style="width: 280px">
                            <asp:TextBox ID="TextBox17" runat="server"></asp:TextBox><b style="color: red">*</b><asp:RequiredFieldValidator
                                ID="RequiredFieldValidator2" runat="server" ErrorMessage="不能为空！" ControlToValidate="TextBox17"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 30px">
                            <img src="images/p_3.jpg" />
                        </td>
                        <td align="left" style="width: 120px">
                            所属监测点：
                        </td>
                        <td align="left" style="width: 280px">
                            <asp:DropDownList ID="DropDownList2" runat="server">
                            </asp:DropDownList>
                            <b style="color: red">*</b> &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="4">
                            <asp:Button runat="server" Text="更新传感器信息" ID="Button1" OnClick="Button1_Click"></asp:Button>
                        </td>
                    </tr>
                </table>
                <div style="width: 850px; margin: 0px auto 0px auto; height: 80px;">
                    <img src="images/p_2.jpg" style="width: 850px;" />
                    <uc3:uc3 ID="Uc1" runat="server" />
                </div>
            </div>
        </div>
</asp:Content>
